package tree.operators;

public class SinOp extends Op {

	public SinOp()
	{
		this.arity = 1;
	}
	
	@Override
	public double evaluate(double inputValue, double[] args) {
		return Math.sin(args[0]);
	}

	@Override
	public String toString() {
		return "sin";
	}

}
